devtools::install("~/Desktop/Funcion_Rank_Abundance_Variaciones-main(1)/Funcion_Rank_Abundance_Variaciones-main/FuncionR")
## ── R CMD build ─────────────────────────────────────────────────────────────────
##
checking for file ‘/home/servicio_social/Desktop/Funcion_Rank_Abundance_Variaciones-main(1)/Funcion_Rank_Abundance_Variaciones-main/FuncionR/DESCRIPTION’ ...
✔ checking for file ‘/home/servicio_social/Desktop/Funcion_Rank_Abundance_Variaciones-main(1)/Funcion_Rank_Abundance_Variaciones-main/FuncionR/DESCRIPTION’
##
─ preparing ‘FuncionR’:
## checking DESCRIPTION meta-information ...
✔ checking DESCRIPTION meta-information
##
─ checking for LF line-endings in source and make files and shell scripts
##
─ checking for empty or unneeded directories
## Omitted ‘LazyData’ from DESCRIPTION
##
─ building ‘FuncionR_0.1.0.tar.gz’
##
##
Running /usr/lib/R/bin/R CMD INSTALL /tmp/RtmpFVrubJ/FuncionR_0.1.0.tar.gz \
## --install-tests
## * installing to library ‘/home/servicio_social/R/x86_64-pc-linux-gnu-library/4.3’
## * installing *source* package ‘FuncionR’ ...
## ** using staged installation
## ** R
## ** byte-compile and prepare package for lazy loading
## [1] 112.2422
## [1] 20.92553
## [1] 5.299779
## [1] 1.413939
## [1] 0.3185808
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 2.657590 2.649173 1.032788
## 50 % 8.298744 2.044503 1.637458
## 97.5 % 25.914142 1.439833 2.242127
## [1] "And the fit has an R2 of:"
## [1] 0.9996464
## [1] 5
## [1] 92.26308
## [1] 37.49575
## [1] 8.237432
## [1] 1.410781
## [1] 0.7929606
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 2.621614e-03 6.276919 -3.043475
## 50 % 1.165919e+01 1.816279 1.417165
## 97.5 % 5.185235e+04 -2.644362 5.877805
## [1] "And the fit has an R2 of:"
## [1] 0.9571737
## [1] 5
## [1] 110.8256
## [1] 21.07097
## [1] 7.436913
## [1] 0.6530047
## [1] 0.2134892
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 1.467048e-03 6.129635 -2.068583
## 50 % 3.955243e+00 1.934781 2.126272
## 97.5 % 1.066355e+04 -2.260073 6.321126
## [1] "And the fit has an R2 of:"
## [1] 0.998746
## [1] 5
## [1] 90.46977
## [1] 36.85261
## [1] 8.07611
## [1] 4.186946
## [1] 0.6145663
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.0400803 3.2474538 -0.1401791
## 50 % 2.9789191 0.9595702 2.1477045
## 97.5 % 221.4045322 -1.3283134 4.4355881
## [1] "And the fit has an R2 of:"
## [1] 0.9889586
## [1] 5
## [1] 88.69964
## [1] 33.92979
## [1] 14.62237
## [1] 2.181883
## [1] 0.7663148
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 6.819509e-03 4.287580 -1.177851
## 50 % 3.290220e+00 1.006419 2.103310
## 97.5 % 1.587438e+03 -2.274742 5.384471
## [1] "And the fit has an R2 of:"
## [1] 0.992191
## [1] 5
## [1] 95.06334
## [1] 34.96943
## [1] 9.285341
## [1] 0.7534063
## [1] 0.128481
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 2.012858e-04 5.0024775 -0.6736173
## 50 % 4.480249e-01 0.9094032 3.4194571
## 97.5 % 9.972203e+02 -3.1836712 7.5125315
## [1] "And the fit has an R2 of:"
## [1] 0.9846171
## [1] 5
## [1] 100.6256
## [1] 26.13225
## [1] 10.72513
## [1] 2.273703
## [1] 0.4433516
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.244755 2.3959984 0.998416
## 50 % 2.639929 1.1330889 2.261325
## 97.5 % 28.474293 -0.1298206 3.524235
## [1] "And the fit has an R2 of:"
## [1] 0.999278
## [1] 5
## [1] 86.03311
## [1] 39.52869
## [1] 10.78682
## [1] 3.383457
## [1] 0.4679207
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.1222666 1.7396163 1.548108
## 50 % 1.1264653 0.5604033 2.727321
## 97.5 % 10.3783423 -0.6188097 3.906534
## [1] "And the fit has an R2 of:"
## [1] 0.9902391
## [1] 5
## [1] 110.0499
## [1] 22.72152
## [1] 6.238621
## [1] 0.8812779
## [1] 0.3087278
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 2.564805e-02 5.1656670 -1.352277
## 50 % 7.969523e+00 2.1181623 1.695228
## 97.5 % 2.476340e+03 -0.9293424 4.742732
## [1] "And the fit has an R2 of:"
## [1] 0.997503
## [1] 5
## [1] 106.6652
## [1] 24.61601
## [1] 7.432853
## [1] 1.172404
## [1] 0.313535
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.05136243 4.097466 -0.354901
## 50 % 4.46916835 1.725883 2.016683
## 97.5 % 388.87307768 -0.645701 4.388266
## [1] "And the fit has an R2 of:"
## [1] 0.9983731
## [1] 5
## A a b sp r mc mp
## A 8.2987444 2.0445033 1.637458 5 15 15 15
## A1 11.6591947 1.8162786 1.417165 7 15 15 15
## A2 3.9552428 1.9347809 2.126272 9 15 15 15
## A3 2.9789191 0.9595702 2.147704 11 15 15 15
## A4 3.2902199 1.0064193 2.103310 13 15 15 15
## A5 0.4480249 0.9094032 3.419457 15 15 15 15
## A6 2.6399292 1.1330889 2.261325 17 15 15 15
## A7 1.1264653 0.5604033 2.727321 19 15 15 15
## A8 7.9695233 2.1181623 1.695228 21 15 15 15
## A9 4.4691683 1.7258826 2.016683 23 15 15 15
## ** help
## *** installing help indices
## ** building package indices
## ** testing if installed package can be loaded from temporary location
## ** testing if installed package can be loaded from final location
## ** testing if installed package keeps a record of temporary installation path
## * DONE (FuncionR)
“Variaciones” es una funcion que permite visualizar los cambios de los parametros de la curva Rank-Abundance (A, a y b), en base a las diferentes configuraciones de valores de parametros involucrados en el model McArthur con miaSim. Para estimar los valores A,a y b de la curva Rank-Abundance, se uso la funcion BC_Multiple del mismo paquete DGBD.
La funcion es facil de usar, colocando la funcion Variaciones y colocar sp= especies, r= numero de recursos, mc= media de produccion, mp= media de produccion, x= el parametro que queremos variar (sp=1, r=2,mc=3 y mp=4), y= cantidad a variar en cada iteracion al parametro seleccionado y z= numero de iteraciones que se haran.
En este caso, la funcion tendra 15 especies (sp), 20 recursos (r), su media de consumo sera de 3 (mc) y su media de produccion sera de 2 (mp), el parametro a variar en este caso sera 1, que corresponde a especie (sp), cada iteracion aumentara 10 unidades el numero de especies y seran 7 iteraciones.
## [1] 12.81971
## [1] 8.924429
## [1] 7.007056
## [1] 5.422534
## [1] 4.345648
## [1] 3.078487
## [1] 1.989793
## [1] 1.466218
## [1] 0.746298
## [1] 0.3980817
## [1] 0.2926676
## [1] 0.1265845
## [1] 0.08991225
## [1] 0.02091125
## [1] 0.005001418
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.004500782 0.6293355 2.416388
## 50 % 0.010906802 0.3806561 2.665067
## 97.5 % 0.026430590 0.1319767 2.913747
## [1] "And the fit has an R2 of:"
## [1] 0.9834491
## [1] 15
## [1] 10.96859
## [1] 9.029608
## [1] 7.017818
## [1] 5.787951
## [1] 3.987053
## [1] 3.207456
## [1] 2.551108
## [1] 1.767929
## [1] 1.021146
## [1] 0.6332523
## [1] 0.3296219
## [1] 0.2563944
## [1] 0.1189134
## [1] 0.0528584
## [1] 0.003632884
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.002489497 0.31251447 2.548816
## 50 % 0.005868263 0.07160541 2.789725
## 97.5 % 0.013832720 -0.16930366 3.030634
## [1] "And the fit has an R2 of:"
## [1] 0.9979257
## [1] 15
## [1] 11.19631
## [1] 8.009671
## [1] 6.474803
## [1] 5.429806
## [1] 4.577851
## [1] 3.611357
## [1] 2.506175
## [1] 1.679146
## [1] 1.44459
## [1] 0.7822407
## [1] 0.4682814
## [1] 0.2826165
## [1] 0.1302315
## [1] 0.1141008
## [1] 0.02615986
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.02242869 0.6491094 1.709297
## 50 % 0.05949843 0.3750113 1.983395
## 97.5 % 0.15783642 0.1009132 2.257493
## [1] "And the fit has an R2 of:"
## [1] 0.9815207
## [1] 15
## [1] 10.92308
## [1] 8.564928
## [1] 6.501941
## [1] 5.444686
## [1] 4.313732
## [1] 3.444077
## [1] 2.491138
## [1] 2.029294
## [1] 1.183592
## [1] 0.8084897
## [1] 0.581311
## [1] 0.2889565
## [1] 0.1316207
## [1] 0.02292343
## [1] 0.003568787
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001305595 0.04411687 2.855064
## 50 % 0.002534611 -0.14226061 3.041442
## 97.5 % 0.004920556 -0.32863809 3.227819
## [1] "And the fit has an R2 of:"
## [1] 0.9830887
## [1] 15
## [1] 10.42561
## [1] 8.789299
## [1] 6.895295
## [1] 5.281016
## [1] 4.446795
## [1] 3.582014
## [1] 2.848878
## [1] 1.871121
## [1] 1.187499
## [1] 0.7865552
## [1] 0.3945335
## [1] 0.1408593
## [1] 0.0679557
## [1] 0.01260026
## [1] 0.003303298
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.0006694645 0.18590003 2.940592
## 50 % 0.0017571385 -0.08520723 3.211700
## 97.5 % 0.0046119489 -0.35631449 3.482807
## [1] "And the fit has an R2 of:"
## [1] 0.9963633
## [1] 15
## [1] 11.80679
## [1] 8.431763
## [1] 7.343753
## [1] 5.638304
## [1] 4.339672
## [1] 2.91542
## [1] 2.287401
## [1] 1.552543
## [1] 0.9264623
## [1] 0.6189887
## [1] 0.4811544
## [1] 0.1812312
## [1] 0.1422009
## [1] 0.04476229
## [1] 0.02289164
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.01861250 0.8098834 1.746058
## 50 % 0.05627289 0.4990454 2.056896
## 97.5 % 0.17013502 0.1882074 2.367734
## [1] "And the fit has an R2 of:"
## [1] 0.960226
## [1] 15
## [1] 11.48371
## [1] 8.239832
## [1] 6.562543
## [1] 5.295573
## [1] 4.404519
## [1] 3.690625
## [1] 2.779516
## [1] 1.976212
## [1] 1.355474
## [1] 0.5983426
## [1] 0.2341948
## [1] 0.06087291
## [1] 0.03205819
## [1] 0.01359213
## [1] 0.00626471
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.0004971182 0.870353 2.303381
## 50 % 0.0047809392 0.234403 2.939331
## 97.5 % 0.0459797704 -0.401547 3.575281
## [1] "And the fit has an R2 of:"
## [1] 0.9767165
## [1] 15
## A a b sp r mc mp
## A 0.010906802 0.38065614 2.665067 15 20 3 2
## A1 0.005868263 0.07160541 2.789725 25 20 3 2
## A2 0.059498434 0.37501128 1.983395 35 20 3 2
## A3 0.002534611 -0.14226061 3.041442 45 20 3 2
## A4 0.001757139 -0.08520723 3.211700 55 20 3 2
## A5 0.056272895 0.49904540 2.056896 65 20 3 2
## A6 0.004780939 0.23440301 2.939331 75 20 3 2
La tabla del final es el resultado, en donde se observan los diferentes valores de A, a y b conforme el numero de especies, se oberva que por cada iteracion, el numero de epecies aumenta de 10 en 10. Hasta llegar al 75. Respecto a los valores de A, a y b, no hay un patron de cambio, pues algunos valores como A, disminuyen, posteriormente vuelven a aumentar. En los valores de a, hay cambios pero no hay un patron distinguible. El valor de b, el cambio es poco e igual sin patron.
## [1] 12.95228
## [1] 9.877983
## [1] 7.803122
## [1] 5.712
## [1] 4.154031
## [1] 2.30075
## [1] 1.708667
## [1] 1.024136
## [1] 0.6271612
## [1] 0.3425126
## [1] 0.1541243
## [1] 0.04037949
## [1] 0.02401278
## [1] 0.009156302
## [1] 0.003021913
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001208785 1.11067866 2.389333
## 50 % 0.007433955 0.60034802 2.899664
## 97.5 % 0.045718365 0.09001737 3.409994
## [1] "And the fit has an R2 of:"
## [1] 0.9206808
## [1] 15
## [1] 14.59961
## [1] 10.31373
## [1] 7.112709
## [1] 4.70393
## [1] 3.457705
## [1] 2.685737
## [1] 1.963459
## [1] 1.006293
## [1] 0.4926993
## [1] 0.191694
## [1] 0.1340033
## [1] 0.03902726
## [1] 0.01863044
## [1] 0.008737922
## [1] 0.0053694
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001979092 1.5538221 1.909861
## 50 % 0.021597030 0.8823731 2.581310
## 97.5 % 0.235679700 0.2109240 3.252759
## [1] "And the fit has an R2 of:"
## [1] 0.9196235
## [1] 15
## [1] 13.84138
## [1] 9.712344
## [1] 7.901323
## [1] 5.845599
## [1] 3.962015
## [1] 2.426201
## [1] 1.57599
## [1] 0.7830541
## [1] 0.318348
## [1] 0.1874658
## [1] 0.1024086
## [1] 0.05467725
## [1] 0.01280153
## [1] 0.00680815
## [1] 0.002917743
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001346798 1.4659879 2.178073
## 50 % 0.012081267 0.8496029 2.794458
## 97.5 % 0.108373336 0.2332178 3.410843
## [1] "And the fit has an R2 of:"
## [1] 0.8794205
## [1] 15
## [1] 13.27544
## [1] 9.616904
## [1] 7.343135
## [1] 5.711229
## [1] 4.252875
## [1] 2.960993
## [1] 1.638751
## [1] 1.105015
## [1] 0.5011013
## [1] 0.17302
## [1] 0.06466822
## [1] 0.05012165
## [1] 0.02397524
## [1] 0.01101639
## [1] 0.005089285
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.00178405 1.6009090 1.843711
## 50 % 0.02281082 0.8849487 2.559672
## 97.5 % 0.29165847 0.1689884 3.275632
## [1] "And the fit has an R2 of:"
## [1] 0.8696925
## [1] 15
## [1] 12.52599
## [1] 9.157197
## [1] 7.087777
## [1] 5.397015
## [1] 4.135942
## [1] 3.015085
## [1] 2.213589
## [1] 1.310122
## [1] 0.939421
## [1] 0.5880936
## [1] 0.1979507
## [1] 0.09412595
## [1] 0.04742924
## [1] 0.02126259
## [1] 0.002335445
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001496267 0.49284539 2.768167
## 50 % 0.003792572 0.23154120 3.029471
## 97.5 % 0.009612995 -0.02976299 3.290775
## [1] "And the fit has an R2 of:"
## [1] 0.9936007
## [1] 15
## [1] 12.00487
## [1] 9.760617
## [1] 8.024983
## [1] 5.779852
## [1] 3.655569
## [1] 2.720212
## [1] 1.818973
## [1] 1.377826
## [1] 0.7958908
## [1] 0.4214777
## [1] 0.1712575
## [1] 0.09477425
## [1] 0.05910711
## [1] 0.04218338
## [1] 0.005738153
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.005224778 0.9653321 2.055488
## 50 % 0.021819593 0.5637423 2.457078
## 97.5 % 0.091122462 0.1621525 2.858667
## [1] "And the fit has an R2 of:"
## [1] 0.9213849
## [1] 15
## [1] 14.35928
## [1] 9.215782
## [1] 7.341485
## [1] 4.847145
## [1] 3.658708
## [1] 3.156532
## [1] 1.847709
## [1] 1.086988
## [1] 0.6815624
## [1] 0.3157274
## [1] 0.159892
## [1] 0.0303463
## [1] 0.01815216
## [1] 0.009266167
## [1] 0.004754153
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001002233 1.40659975 2.055874
## 50 % 0.012002325 0.70903568 2.753438
## 97.5 % 0.143734873 0.01147162 3.451002
## [1] "And the fit has an R2 of:"
## [1] 0.9483071
## [1] 15
## A a b sp r mc mp
## A 0.007433955 0.6003480 2.899664 15 20 5 5
## A1 0.021597030 0.8823731 2.581310 15 30 5 5
## A2 0.012081267 0.8496029 2.794458 15 40 5 5
## A3 0.022810817 0.8849487 2.559672 15 50 5 5
## A4 0.003792572 0.2315412 3.029471 15 60 5 5
## A5 0.021819593 0.5637423 2.457078 15 70 5 5
## A6 0.012002325 0.7090357 2.753438 15 80 5 5
En este ejemplo se cambio el parametro de recursos, nuevamente, no es observable algun patron de cambio en A, a y b de la curva Rank-Abundance
## [1] 14.6462
## [1] 9.964264
## [1] 7.693248
## [1] 5.44186
## [1] 3.409747
## [1] 2.37904
## [1] 1.412274
## [1] 0.9097714
## [1] 0.4398977
## [1] 0.2473757
## [1] 0.1150411
## [1] 0.03591811
## [1] 0.02579015
## [1] 0.009029367
## [1] 0.003880063
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.00273331 1.4213104 2.075422
## 50 % 0.01915068 0.8743486 2.622384
## 97.5 % 0.13417740 0.3273868 3.169345
## [1] "And the fit has an R2 of:"
## [1] 0.9110303
## [1] 15
## [1] 20.40172
## [1] 11.47147
## [1] 6.123962
## [1] 3.343662
## [1] 2.070843
## [1] 1.539883
## [1] 0.7714648
## [1] 0.3959812
## [1] 0.2343368
## [1] 0.1555297
## [1] 0.098261
## [1] 0.07041812
## [1] 0.03248609
## [1] 0.01545565
## [1] 0.007856078
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.0866138 1.912862 1.325814
## 50 % 0.3274132 1.539264 1.699412
## 97.5 % 1.2376709 1.165666 2.073010
## [1] "And the fit has an R2 of:"
## [1] 0.9326635
## [1] 15
## [1] 25.1793
## [1] 9.171229
## [1] 5.143818
## [1] 3.127572
## [1] 1.744184
## [1] 1.03306
## [1] 0.4487257
## [1] 0.2893552
## [1] 0.2447414
## [1] 0.1539817
## [1] 0.07613041
## [1] 0.04969912
## [1] 0.03556963
## [1] 0.02454072
## [1] 0.01143183
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.3744377 2.230734 0.8691507
## 50 % 1.3402773 1.872463 1.2274207
## 97.5 % 4.7974415 1.514193 1.5856908
## [1] "And the fit has an R2 of:"
## [1] 0.9788477
## [1] 15
## [1] 23.88317
## [1] 10.3747
## [1] 5.838309
## [1] 2.924569
## [1] 1.373419
## [1] 0.9624838
## [1] 0.5932401
## [1] 0.2740389
## [1] 0.1994769
## [1] 0.1450521
## [1] 0.06981723
## [1] 0.04486697
## [1] 0.02893442
## [1] 0.0150468
## [1] 0.006212401
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.1910954 2.096839 1.212023
## 50 % 0.5825572 1.783676 1.525186
## 97.5 % 1.7759349 1.470513 1.838349
## [1] "And the fit has an R2 of:"
## [1] 0.9611334
## [1] 15
## [1] 24.07093
## [1] 9.968281
## [1] 5.076725
## [1] 2.615923
## [1] 1.874352
## [1] 1.28934
## [1] 0.6501892
## [1] 0.5021756
## [1] 0.2536683
## [1] 0.2095107
## [1] 0.1167008
## [1] 0.04854056
## [1] 0.02881293
## [1] 0.01773665
## [1] 0.01044986
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.1441518 1.964165 1.187244
## 50 % 0.5025562 1.613303 1.538107
## 97.5 % 1.7520612 1.262440 1.888969
## [1] "And the fit has an R2 of:"
## [1] 0.9834557
## [1] 15
## [1] 22.22522
## [1] 11.59822
## [1] 5.792256
## [1] 2.720101
## [1] 1.836776
## [1] 1.004503
## [1] 0.6340754
## [1] 0.4329407
## [1] 0.214944
## [1] 0.09502926
## [1] 0.06895286
## [1] 0.0500583
## [1] 0.03442992
## [1] 0.01887455
## [1] 0.006952534
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.1536797 2.141684 1.120792
## 50 % 0.6109298 1.753941 1.508535
## 97.5 % 2.4286559 1.366197 1.896278
## [1] "And the fit has an R2 of:"
## [1] 0.9344491
## [1] 15
## [1] 27.33043
## [1] 9.477339
## [1] 4.455369
## [1] 2.290315
## [1] 1.360948
## [1] 0.7116756
## [1] 0.4449802
## [1] 0.248115
## [1] 0.1405983
## [1] 0.09810246
## [1] 0.06084774
## [1] 0.05064621
## [1] 0.03112073
## [1] 0.02048745
## [1] 0.01235498
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.9269784 2.466000 0.6473222
## 50 % 2.9684958 2.139007 0.9743152
## 97.5 % 9.5061197 1.812014 1.3013082
## [1] "And the fit has an R2 of:"
## [1] 0.9783999
## [1] 15
## A a b sp r mc mp
## A 0.01915068 0.8743486 2.6223836 15 20 5 5
## A1 0.32741316 1.5392640 1.6994121 15 20 15 5
## A2 1.34027725 1.8724634 1.2274207 15 20 25 5
## A3 0.58255722 1.7836760 1.5251856 15 20 35 5
## A4 0.50255621 1.6133028 1.5381067 15 20 45 5
## A5 0.61092977 1.7539407 1.5085352 15 20 55 5
## A6 2.96849583 2.1390069 0.9743152 15 20 65 5
EL parametro que se cambio en este ejemplo fue el de la media de consumo, en los valores de la curva Rank-Abundance, nuevamente no se observa algun patron de cambio srespecto al parametro que se escogio.
## [1] 12.69479
## [1] 9.704471
## [1] 7.49007
## [1] 5.538956
## [1] 4.531054
## [1] 2.49308
## [1] 1.589938
## [1] 1.218857
## [1] 0.6368863
## [1] 0.4514618
## [1] 0.2046059
## [1] 0.1183985
## [1] 0.04419587
## [1] 0.01163538
## [1] 0.004938258
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.002999367 0.8607923 2.358326
## 50 % 0.010741673 0.5023751 2.716743
## 97.5 % 0.038469299 0.1439580 3.075160
## [1] "And the fit has an R2 of:"
## [1] 0.9488971
## [1] 15
## [1] 12.0909
## [1] 10.82625
## [1] 8.896903
## [1] 5.962233
## [1] 3.281471
## [1] 2.555134
## [1] 1.694733
## [1] 0.6655669
## [1] 0.3841531
## [1] 0.1955435
## [1] 0.09081459
## [1] 0.05076217
## [1] 0.02608643
## [1] 0.008748938
## [1] 0.004037324
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.002418489 1.4887089 2.001891
## 50 % 0.020309749 0.8908576 2.599742
## 97.5 % 0.170555225 0.2930063 3.197593
## [1] "And the fit has an R2 of:"
## [1] 0.78533
## [1] 15
## [1] 13.54568
## [1] 9.913612
## [1] 7.45983
## [1] 5.000883
## [1] 3.730582
## [1] 2.714774
## [1] 1.80723
## [1] 1.250602
## [1] 0.6863932
## [1] 0.3617362
## [1] 0.1813452
## [1] 0.04569463
## [1] 0.02177089
## [1] 0.008850994
## [1] 0.004350848
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001204603 1.17887429 2.245804
## 50 % 0.009248717 0.60620281 2.818476
## 97.5 % 0.071009906 0.03353133 3.391147
## [1] "And the fit has an R2 of:"
## [1] 0.9488438
## [1] 15
## [1] 14.63054
## [1] 10.32084
## [1] 6.883525
## [1] 4.997436
## [1] 3.614405
## [1] 2.667416
## [1] 1.50814
## [1] 0.9319405
## [1] 0.6394573
## [1] 0.3149163
## [1] 0.1617928
## [1] 0.03506576
## [1] 0.01423749
## [1] 0.00915988
## [1] 0.004454955
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001356495 1.4406167 2.052162
## 50 % 0.014186429 0.7811183 2.711660
## 97.5 % 0.148363771 0.1216199 3.371159
## [1] "And the fit has an R2 of:"
## [1] 0.9389279
## [1] 15
## [1] 13.86126
## [1] 9.613842
## [1] 7.455344
## [1] 5.946743
## [1] 4.270575
## [1] 2.707769
## [1] 1.345211
## [1] 0.7671975
## [1] 0.4313207
## [1] 0.1832366
## [1] 0.0791039
## [1] 0.0323922
## [1] 0.02437841
## [1] 0.01217564
## [1] 0.002780781
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.001886275 1.4944030 2.069369
## 50 % 0.016595680 0.8834649 2.680307
## 97.5 % 0.146010824 0.2725269 3.291245
## [1] "And the fit has an R2 of:"
## [1] 0.877392
## [1] 15
## [1] 12.9587
## [1] 10.14375
## [1] 6.89612
## [1] 5.292306
## [1] 4.309819
## [1] 2.864194
## [1] 1.864418
## [1] 1.216172
## [1] 0.6747124
## [1] 0.3782664
## [1] 0.07538354
## [1] 0.03183547
## [1] 0.01423212
## [1] 0.008939232
## [1] 0.004484867
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.000607569 1.51494784 2.014327
## 50 % 0.010422700 0.71640854 2.812866
## 97.5 % 0.178798914 -0.08213076 3.611406
## [1] "And the fit has an R2 of:"
## [1] 0.9040518
## [1] 15
## [1] 13.64353
## [1] 10.72058
## [1] 7.89674
## [1] 5.740657
## [1] 3.281061
## [1] 2.609178
## [1] 1.262515
## [1] 0.6512537
## [1] 0.4396597
## [1] 0.2729006
## [1] 0.1216368
## [1] 0.054728
## [1] 0.02373752
## [1] 0.01102563
## [1] 0.004128862
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.003975672 1.3776490 2.057096
## 50 % 0.022993294 0.8845781 2.550167
## 97.5 % 0.132981672 0.3915072 3.043238
## [1] "And the fit has an R2 of:"
## [1] 0.867827
## [1] 15
## A a b sp r mc mp
## A 0.010741673 0.5023751 2.716743 15 20 5 5
## A1 0.020309749 0.8908576 2.599742 15 20 5 15
## A2 0.009248717 0.6062028 2.818476 15 20 5 25
## A3 0.014186429 0.7811183 2.711660 15 20 5 35
## A4 0.016595680 0.8834649 2.680307 15 20 5 45
## A5 0.010422700 0.7164085 2.812866 15 20 5 55
## A6 0.022993294 0.8845781 2.550167 15 20 5 65
En este ejemplo el parametro que se cambio fue la media de produccion. no se logro observar algun patron en los cambios de los valores de la curva Rank-Abundance
## [1] 2.901859
## [1] 1.989857
## [1] 1.561201
## [1] 1.256943
## [1] 1.064545
## [1] 0.8132686
## [1] 0.7041015
## [1] 0.5949794
## [1] 0.5017529
## [1] 0.4076933
## [1] 0.3720277
## [1] 0.2741523
## [1] 0.2334073
## [1] 0.2075985
## [1] 0.1774723
## [1] 0.1626875
## [1] 0.14967
## [1] 0.1263822
## [1] 0.09983191
## [1] 0.07565778
## [1] 0.06201251
## [1] 0.05189353
## [1] 0.03685964
## [1] 0.02909185
## [1] 0.02636464
## [1] 0.02047279
## [1] 0.01730014
## [1] 0.01389506
## [1] 0.01187975
## [1] 0.01044894
## [1] 0.00900779
## [1] 0.008137098
## [1] 0.006927532
## [1] 0.005977459
## [1] 0.005157059
## [1] 0.004599333
## [1] 0.00412134
## [1] 0.003354897
## [1] 0.003061531
## [1] 0.002547108
## [1] 0.002260107
## [1] 0.001883883
## [1] 0.001600145
## [1] 0.001447663
## [1] 0.001238928
## [1] 0.001181619
## [1] 0.0009476699
## [1] 0.0006330792
## [1] 0.0003841534
## [1] 0.0002249711
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.01110836 1.803402 1.224456
## 50 % 0.04019708 1.571825 1.456033
## 97.5 % 0.14545848 1.340248 1.687610
## [1] "And the fit has an R2 of:"
## [1] 0.7505318
## [1] 50
## [1] 2.551419
## [1] 1.979737
## [1] 1.684172
## [1] 1.341565
## [1] 1.102142
## [1] 0.9269002
## [1] 0.7608855
## [1] 0.6048353
## [1] 0.4963043
## [1] 0.4125846
## [1] 0.3653563
## [1] 0.3231789
## [1] 0.2558503
## [1] 0.2111916
## [1] 0.1695076
## [1] 0.1485691
## [1] 0.1310265
## [1] 0.09404076
## [1] 0.07388511
## [1] 0.06203209
## [1] 0.0542377
## [1] 0.04269014
## [1] 0.03499947
## [1] 0.029776
## [1] 0.02528569
## [1] 0.02142252
## [1] 0.01454362
## [1] 0.01240651
## [1] 0.01072213
## [1] 0.009893516
## [1] 0.008384104
## [1] 0.007170626
## [1] 0.006677283
## [1] 0.006083792
## [1] 0.005356568
## [1] 0.00496685
## [1] 0.004683094
## [1] 0.004320179
## [1] 0.004041446
## [1] 0.003326762
## [1] 0.002917996
## [1] 0.002587938
## [1] 0.002225691
## [1] 0.00189245
## [1] 0.00152292
## [1] 0.0009376356
## [1] 0.0007128917
## [1] 0.0005394222
## [1] 0.0003013317
## [1] 0.0001909754
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.01077027 1.769642 1.253810
## 50 % 0.03605713 1.552071 1.471382
## 97.5 % 0.12071351 1.334499 1.688953
## [1] "And the fit has an R2 of:"
## [1] 0.6706777
## [1] 50
## [1] 2.32914
## [1] 1.816912
## [1] 1.491656
## [1] 1.247744
## [1] 1.033551
## [1] 0.9199304
## [1] 0.7842255
## [1] 0.7145526
## [1] 0.6004719
## [1] 0.509313
## [1] 0.3866524
## [1] 0.3419302
## [1] 0.3014362
## [1] 0.266944
## [1] 0.2215487
## [1] 0.1873148
## [1] 0.1398823
## [1] 0.1169877
## [1] 0.1003197
## [1] 0.08096555
## [1] 0.06408387
## [1] 0.05597844
## [1] 0.05012086
## [1] 0.03821536
## [1] 0.03591984
## [1] 0.03036008
## [1] 0.02425407
## [1] 0.02033976
## [1] 0.01714284
## [1] 0.01393608
## [1] 0.01197323
## [1] 0.01002807
## [1] 0.008846713
## [1] 0.007603894
## [1] 0.006336456
## [1] 0.005722058
## [1] 0.004736132
## [1] 0.004343662
## [1] 0.00329559
## [1] 0.003009305
## [1] 0.002393466
## [1] 0.002115219
## [1] 0.001679388
## [1] 0.001467385
## [1] 0.00124762
## [1] 0.001132948
## [1] 0.0008596582
## [1] 0.0006437044
## [1] 0.0004231639
## [1] 0.0003132299
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.006363696 1.678762 1.312465
## 50 % 0.023731570 1.441765 1.549462
## 97.5 % 0.088500042 1.204768 1.786459
## [1] "And the fit has an R2 of:"
## [1] 0.6770039
## [1] 50
## [1] 2.746491
## [1] 1.940829
## [1] 1.539113
## [1] 1.388886
## [1] 1.114283
## [1] 0.9331393
## [1] 0.7879245
## [1] 0.6297233
## [1] 0.5276356
## [1] 0.4364935
## [1] 0.363376
## [1] 0.2980003
## [1] 0.2437031
## [1] 0.2094466
## [1] 0.1561699
## [1] 0.1410316
## [1] 0.1016873
## [1] 0.07415245
## [1] 0.05529824
## [1] 0.05059042
## [1] 0.04332519
## [1] 0.03355495
## [1] 0.02987661
## [1] 0.0236696
## [1] 0.01880838
## [1] 0.01680029
## [1] 0.01546986
## [1] 0.01410937
## [1] 0.0124578
## [1] 0.01066152
## [1] 0.008810222
## [1] 0.00795974
## [1] 0.007160923
## [1] 0.005996481
## [1] 0.005048299
## [1] 0.004458869
## [1] 0.003840132
## [1] 0.003286212
## [1] 0.002906184
## [1] 0.002527445
## [1] 0.00231156
## [1] 0.002106778
## [1] 0.001798533
## [1] 0.001587518
## [1] 0.001108735
## [1] 0.0008901579
## [1] 0.0005741859
## [1] 0.0004084165
## [1] 0.000316256
## [1] 0.0001960963
## [1] "The data fit the DGB distribution with parameters:"
## A a b
## 2.5 % 0.01236896 1.838940 1.239050
## 50 % 0.04176269 1.619838 1.458152
## 97.5 % 0.14100802 1.400736 1.677254
## [1] "And the fit has an R2 of:"
## [1] 0.6902473
## [1] 50
## A a b sp r mc mp
## A 0.04019708 1.571825 1.456033 50 30 20 20
## A1 0.03605713 1.552071 1.471382 80 30 20 20
## A2 0.02373157 1.441765 1.549462 110 30 20 20
## A3 0.04176269 1.619838 1.458152 140 30 20 20
Los parametros de especies y numero de recursos, cuando son una gran cantidad, puede ser desafiante para algunos equipos dependiendo las especificaciones. El parametro de especeis al llegar a 40, puede resultar en el aborto de la sesion en algunos equipos, mientras que otros son capaces de llegar a 300 especies. El parametro de recursos es un poco menos demandante, pero puede llegar hasta la cantidad de 250.
La funcion puede unicamente ver el efecto del cambio de parametros de manera individual. No permite el cambio de mas de un parametro.
EL parametro de las especies, al cambiarlo afecta a el valor de “a”, debido a que cuando las especies se enceuntran cambiando, los valores de a, van cambiando sin un parametro establecido, de negativos a positivos. Mientras que cuando no se modifica el parametro de especies, este valor de “a”, cambia pero es mas estable.
El parametro de la media de consumo, afecta en los valores de “A” y “a”, ya que se encuentran en valores mas altos que cuando se alteran otros parametros.
El parametro de la media de produccion, no tuvo un gran efecto sobre los valores de “A”, “a” y “b”.